package com.example.booklist.enums;

/**
 * ClassName: ResultCode
 * Package: IntelliJ IDEA
 * Description:
 *
 * @Author 谷京京
 * @Create 2023/11/23 17:25
 * @Version 1.0
 */
public enum ResultCode {
    SUCCESS(0),
    FALSE(-1),
    UNLOGIN(-2);
    private int code;

    ResultCode(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
